package com.hqyj.order.service;

import com.hqyj.order.model.OrderInfo;

import java.util.List;

public interface OrderInfoService {
    List<OrderInfo> queryAllOrderInfo();

    OrderInfo queryOrderInfoById(int id);

    int updateOrderInfoByOrderInfo(OrderInfo orderInfo);

    int addOrderInfoByOrderInfo(OrderInfo orderInfo);

    int addSaleInfoByOrderInfo(OrderInfo orderInfo);

    int updateOrderInfoStateBySaleId(int id);

    List<OrderInfo> queryAllOrderInfoBySended();

    int deleteOrderInfoByid(int id);

    int updateOrderInfoByOrderState(int id);


}
